package cn.iocoder.yudao.module.javainfo.controller.admin.financialflow.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 资金流水统计 Request VO")
@Data
public class FinancialFlowStatisticsReqVO {

    @Schema(description = "查询天数", requiredMode = Schema.RequiredMode.REQUIRED, example = "7")
    @NotNull(message = "查询天数不能为空")
    @Min(value = 1, message = "查询天数必须大于等于1")
    @Max(value = 90, message = "查询天数不能超过90天")
    private Integer days;

    @Schema(description = "金额类型（消费/充值）", example = "RECHARGE")
    private String amountType;

}

